/***************************************************************************
 *   Copyleft 2006-2007 by												   *
 *	 Iwanicki Krzysztof													   *
 *   <gamma.mini.pw.edu.pl/~iwanickik>			                           *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 ***************************************************************************/
#ifndef __MOUSELISTENER_H__
#define __MOUSELISTENER_H__

#include <Types/vTypes.h>
#include "../../Macros/vMemoryMacros.h"

namespace Vendetta {
	class vMouseListener {
	public:
		enum eMouseButton {
			V_MB_LEFT = 1,
			V_MB_RIGHT = 3,
			V_MB_MIDDLE = 2
		};
		// TODO change this later to vPoint2D
		struct MouseEvent {
			eMouseButton mButton;
			vPoint mPos;
			vPoint mDeltaPos;
		};

	public:
		virtual vVoid MouseMoved(const MouseEvent& event) = 0;
		virtual vVoid MousePressed(const MouseEvent& event) = 0;
		virtual vVoid MouseReleased(const MouseEvent& event) = 0;
	};
}

#endif // __MOUSELISTENER_H__